package org.jeecg.modules.demo.viporderrecord.service.impl;


import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.jeecg.modules.demo.viporderrecord.entity.VipOrderRecord;
import org.jeecg.modules.demo.viporderrecord.entity.VipOrderRecordVo;
import org.jeecg.modules.demo.viporderrecord.mapper.VipOrderRecordMapper;
import org.jeecg.modules.demo.viporderrecord.service.IVipOrderRecordService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class VipOrderRecordServiceImpl extends ServiceImpl<VipOrderRecordMapper, VipOrderRecord> implements IVipOrderRecordService {
    @Autowired
    private VipOrderRecordMapper vipOrderRecordMapper;

    @Override
    public List<VipOrderRecordVo> listEx(String storeId, String orderCode, String cardName, String name, String phone, String startDate, String endDate, Integer pageNo, Integer pageSize) {
        return vipOrderRecordMapper.listEx(storeId, orderCode, cardName, name, phone, startDate, endDate, pageNo, pageSize);
    }

    @Override
    public Integer countEx(String storeId, String orderCode, String cardName, String name, String phone, String startDate, String endDate) {
        return vipOrderRecordMapper.countEx(storeId, orderCode, cardName, name, phone, startDate, endDate);
    }
}
